<div class="mod">
          <div class="mod-tit"><a href="#">Các dự án của bạn</a></div>
          <div class=" mod-cont">
            <div class="table">
              <table cellpadding="3" cellspacing="3" border="0" width="100%">
                <tr>
                  <th width="35%">Tên dự án</th>
                  <th >Loại dự án</th>
                  <th width="20%">Hành động</th>
                </tr>
              </table>
            </div>
            <?php if(count($data)): ?>
            <?php foreach($data as $value): ?>
            <div class="table">
              <!--div class="tag-new"><img src="images/new.png" /></div-->
              <table cellpadding="3" cellspacing="3" border="0" width="100%">
                <tr>
                  <td align="center" width="35%"><div class="ava"><a href="<?php echo Yii::app()->createUrl('/job/create/view',array('id'=>$value->id)); ?>"><?php echo $value->name; ?></a></td>
                  <?php if($value->statuspost == 0): ?>
                  <td   align="center">Dự án bình thường<br />
                  <?php else: ?>
                  <td   align="center">Dự án trung gian<br />
                <?php endif; ?>
                  <td width="20%" align="center">
                      <select name="" id="" onchange="javascript:handleSelect(this)">
                          <option value="">Lựa chọn</option>
                          <option value="<?php echo Yii::app()->createUrl('job/create/update',array('id'=>$value->id)) ?>"><a href="">Chỉnh sửa</a></option>
                          <option value="2">Xóa</option>
                      </select>
                  </td>
                </tr>
              </table>
              </div>
            <?php endforeach; ?>
            <?php else: ?>
            <?php echo "<p style='padding: 0 300px;'>Không có dữ liệu.</p>"; ?>
          <?php endif; ?>
          </div>
          <div class="clr"></div>
        </div>